export default {
  data() {
    return {
      shareData: {
        title: '金掌柜，为您提供稳定流畅的支付',
        path: '/pages/login/index',
        imageUrl: 'https://jhl-pay.oss-cn-shenzhen.aliyuncs.com/merchant/bg-share-default.png',
      }
    }
  },
  // 分享给好友
  onShareAppMessage() {
    return {
      title: this.shareData.title,
      path: this.shareData.path,
      imageUrl: this.shareData.imageUrl
    }
  },
  // 分享到朋友圈
  onShareTimeline() {
    return {
      title: this.shareData.title,
      path: this.shareData.path,
      imageUrl: this.shareData.imageUrl
    }
  }
}